'use strict';

/**
 * prod
 */
var mymodule=angular.module("plist",[]);
mymodule.controller("prodlistController",function($scope, $http){
	  $scope.fetchProdList = function() {
	        $http.get('product/prodlist.json').success(function(list){
	            $scope.products = list;
	        });
	    };
	    $scope.fetchProdList();
});



